home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSVGCircleElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  4KB  |  116 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSVGCircleElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSVGCircleElement_h__
  6. #define __gen_nsIDOMSVGCircleElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMSVGElement_h__
  10. #include "nsIDOMSVGElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMSVGAnimatedLength; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIDOMSVGCircleElement */
  21. #define NS_IDOMSVGCIRCLEELEMENT_IID_STR "0f89f2a4-b168-4602-90f5-1874418c0a6a"
  22.  
  23. #define NS_IDOMSVGCIRCLEELEMENT_IID \
  24.   {0x0f89f2a4, 0xb168, 0x4602, \
  25.     { 0x90, 0xf5, 0x18, 0x74, 0x41, 0x8c, 0x0a, 0x6a }}
  26.  
  27. class NS_NO_VTABLE nsIDOMSVGCircleElement : public nsIDOMSVGElement {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSVGCIRCLEELEMENT_IID)
  31.  
  32.   /* readonly attribute nsIDOMSVGAnimatedLength cx; */
  33.   NS_IMETHOD GetCx(nsIDOMSVGAnimatedLength * *aCx) = 0;
  34.  
  35.   /* readonly attribute nsIDOMSVGAnimatedLength cy; */
  36.   NS_IMETHOD GetCy(nsIDOMSVGAnimatedLength * *aCy) = 0;
  37.  
  38.   /* readonly attribute nsIDOMSVGAnimatedLength r; */
  39.   NS_IMETHOD GetR(nsIDOMSVGAnimatedLength * *aR) = 0;
  40.  
  41. };
  42.  
  43. /* Use this macro when declaring classes that implement this interface. */
  44. #define NS_DECL_NSIDOMSVGCIRCLEELEMENT \
  45.   NS_IMETHOD GetCx(nsIDOMSVGAnimatedLength * *aCx); \
  46.   NS_IMETHOD GetCy(nsIDOMSVGAnimatedLength * *aCy); \
  47.   NS_IMETHOD GetR(nsIDOMSVGAnimatedLength * *aR); 
  48.  
  49. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  50. #define NS_FORWARD_NSIDOMSVGCIRCLEELEMENT(_to) \
  51.   NS_IMETHOD GetCx(nsIDOMSVGAnimatedLength * *aCx) { return _to GetCx(aCx); } \
  52.   NS_IMETHOD GetCy(nsIDOMSVGAnimatedLength * *aCy) { return _to GetCy(aCy); } \
  53.   NS_IMETHOD GetR(nsIDOMSVGAnimatedLength * *aR) { return _to GetR(aR); } 
  54.  
  55. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  56. #define NS_FORWARD_SAFE_NSIDOMSVGCIRCLEELEMENT(_to) \
  57.   NS_IMETHOD GetCx(nsIDOMSVGAnimatedLength * *aCx) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCx(aCx); } \
  58.   NS_IMETHOD GetCy(nsIDOMSVGAnimatedLength * *aCy) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCy(aCy); } \
  59.   NS_IMETHOD GetR(nsIDOMSVGAnimatedLength * *aR) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetR(aR); } 
  60.  
  61. #if 0
  62. /* Use the code below as a template for the implementation class for this interface. */
  63.  
  64. /* Header file */
  65. class nsDOMSVGCircleElement : public nsIDOMSVGCircleElement
  66. {
  67. public:
  68.   NS_DECL_ISUPPORTS
  69.   NS_DECL_NSIDOMSVGCIRCLEELEMENT
  70.  
  71.   nsDOMSVGCircleElement();
  72.  
  73. private:
  74.   ~nsDOMSVGCircleElement();
  75.  
  76. protected:
  77.   /* additional members */
  78. };
  79.  
  80. /* Implementation file */
  81. NS_IMPL_ISUPPORTS1(nsDOMSVGCircleElement, nsIDOMSVGCircleElement)
  82.  
  83. nsDOMSVGCircleElement::nsDOMSVGCircleElement()
  84. {
  85.   /* member initializers and constructor code */
  86. }
  87.  
  88. nsDOMSVGCircleElement::~nsDOMSVGCircleElement()
  89. {
  90.   /* destructor code */
  91. }
  92.  
  93. /* readonly attribute nsIDOMSVGAnimatedLength cx; */
  94. NS_IMETHODIMP nsDOMSVGCircleElement::GetCx(nsIDOMSVGAnimatedLength * *aCx)
  95. {
  96.     return NS_ERROR_NOT_IMPLEMENTED;
  97. }
  98.  
  99. /* readonly attribute nsIDOMSVGAnimatedLength cy; */
  100. NS_IMETHODIMP nsDOMSVGCircleElement::GetCy(nsIDOMSVGAnimatedLength * *aCy)
  101. {
  102.     return NS_ERROR_NOT_IMPLEMENTED;
  103. }
  104.  
  105. /* readonly attribute nsIDOMSVGAnimatedLength r; */
  106. NS_IMETHODIMP nsDOMSVGCircleElement::GetR(nsIDOMSVGAnimatedLength * *aR)
  107. {
  108.     return NS_ERROR_NOT_IMPLEMENTED;
  109. }
  110.  
  111. /* End of implementation class template. */
  112. #endif
  113.  
  114.  
  115. #endif /* __gen_nsIDOMSVGCircleElement_h__ */
  116.